<?php
/**
* Get location source of an object
* @author: trungdt
* @since: Feb 11, 2011
* 
*/
function smarty_modifier_get_src($loc) {
	$location=unserialize($loc);
    if (isset($location->src))
        return $location->src;
    else
        return "";
}

?>